let arr = [
	{
		batchId: {
			id: 'rg6e596p'
		},
		success: 'lP6Koz62'
	},
	{
		batchId: {
			id: 'DgOmoonB'
		},
		success: 'ENnAkzOW'
	}
]
let v = arr.map((item) => {
	return {
		batchId: { id: item.batchId.id },
		success: {
			eventIds: { id: item.success }
		}
	}
})

console.log('%c [  ]-25', 'font-size:13px; background:pink; color:#bf2c9f;', v)
